-- GENERATED SPELL FOR [Iron Rune-Weaver] --


function spell0_26820(pUnit, Event) --@Rune Weaving,n/a--
pUnit:FullCastSpellOnTarget(52713,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_26820', 4000, 1)
end

function Sorts_26820(pUnit, Event)
local choix_sorts_26820 = math.random(0, 0)
if choix_sorts_26820 == 0 then
pUnit:RegisterEvent('spell0_26820', 1, 1)
end
end

function mob26820_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_26820', math.random(1500, 3000), 1)
end

function mob26820_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob26820_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob26820_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(26820, 1, 'mob26820_Action')
RegisterUnitEvent(26820, 2, 'mob26820_Leave')
RegisterUnitEvent(26820, 3, 'mob26820_Kill')
RegisterUnitEvent(26820, 4, 'mob26820_Die')
